interface Achievement {
    text: string;
    value: number;
}

export interface Project {
    id: number;
    name: string;
    period: string;
    techStack: string[];
    responsibilities: string;
    achievements: Achievement[];
    screenshot: string;
}

export const personalInfo = {
    name: "孙孟想",
    title: "高级前端开发工程师",
    bio: "5年前端开发经验，专注于React和TypeScript，擅长构建高性能、响应式的Web应用。",
    skills: ["React", "TypeScript", "Node.js", "GraphQL", "Tailwind CSS", "UI/UX设计"]
};

export const projects = [
    {
        id: 1,
        name: "电商平台重构",
        period: "2023.03 - 2023.12",
        techStack: ["React", "TypeScript", "Node.js", "GraphQL"],
        responsibilities: "负责前端架构设计和核心功能开发，优化页面加载性能。",
        achievements: [
            { text: "页面加载速度提升", value: 40 },
            { text: "转化率提升", value: 15 },
            { text: "错误率降低", value: -60 }
        ],
        screenshot: "https://space.coze.cn/api/coze_space/gen_image?image_size=landscape_16_9&prompt=e-commerce%20dashboard%20UI&sign=33e9fb1298fd378a0dbe4e4274245edb"
    },
    {
        id: 2,
        name: "企业管理系统",
        period: "2022.01 - 2023.02",
        techStack: ["React", "Redux", "Ant Design"],
        responsibilities: "主导前端开发，实现复杂数据可视化功能。",
        achievements: [
            { text: "开发效率提升", value: 30 },
            { text: "用户满意度", value: 25 }
        ],
        screenshot: "https://space.coze.cn/api/coze_space/gen_image?image_size=landscape_16_9&prompt=enterprise%20management%20system%20UI&sign=3c5f63bc2d79bf31dee058e5cbf0106b"
    }
];

export const contactInfo = {
    email: "zhangwei@example.com",
    phone: "+86 138 1234 5678",
    socialLinks: [
        { platform: "LinkedIn", url: "https://linkedin.com", icon: "fa-brands fa-linkedin" },
        { platform: "GitHub", url: "https://github.com", icon: "fa-brands fa-github" },
        { platform: "Twitter", url: "https://twitter.com", icon: "fa-brands fa-twitter" }
    ]
};